package com.leetcode.LC;

public class LC1523 {
    public int countOdds(int low, int high) {

        if (low%2==1&&high%2==1){
            return (high-low+1)/2+1;
        }else {
            return (high-low+1)/2;
        }
    }
}
